package com.tomtop.config;

import java.util.Locale;
import java.util.Map;
import java.util.Properties;

public class WebSite{
    private int id;
	private CustomerService service;
	private String logo,host;
	private Map<String,String> url;
	private Prefix prefix;
	private Locale defaultLanguage;
	private Properties properties;
    public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	
	public Prefix getPrefix() {
		return prefix;
	}
	public void setPrefix(Prefix prefix) {
		this.prefix = prefix;
	}
	public CustomerService getService() {
		return service;
	}
	public void setService(CustomerService service) {
		this.service = service;
	}
	
	public Properties getProperties() {
		return properties;
	}
	public void setProperties(Properties properties) {
		this.properties = properties;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public Map<String, String> getUrl() {
		return url;
	}
	public String getUrl(String key) {
		String url = this.url.get(key);
		return url == null ? "" : url;
	}
	public void setUrl(Map<String, String> url) {
		this.url = url;
	}
	public Locale getDefaultLanguage() {
		return defaultLanguage;
	}
	public void setDefaultLanguage(Locale defaultLanguage) {
		this.defaultLanguage = defaultLanguage;
	} 
}